package org.phoenix.mall.admin.service;

import org.phoenix.mall.admin.common.pojo.vo.CategoryVO;
import org.phoenix.mall.admin.common.utils.PagedGridResult;
import org.phoenix.mall.admin.pojo.Category;

import java.util.List;

public interface CategoryService {
    public Category createCategory(Category category);

    public PagedGridResult getCategoryListByPage(Integer page, Integer pageSize);

    public List<CategoryVO> getChildCategoryList(Integer pid, Integer level);
}
